﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_MasterPage.master" AutoEventWireup="true" CodeFile="ChiTietDonHang.aspx.cs" Inherits="Admin_ChiTietDonHang" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <div>
        <span class="TieuDe">Chi tiết đơn hàng</span><br />
     <table width="100%" cellspacing="1" cellpadding="3" border="0">
    <tr>
        <td style="width:20%;" class="DongChiTiet">Mã Đơn hàng</td>
        <td class="DongChiTiet"> 
           <asp:Literal ID="lit_MaDH" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Tên Khách hàng</td>
        <td class="DongChiTiet">
            <asp:Literal ID="lit_KhachHang" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Tên Nhân viên</td>
        <td class="DongChiTiet">
            <asp:Literal ID="lit_NhanVien" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Ngày đặt hàng</td>
        <td class="DongChiTiet"><asp:Literal ID="lit_NgayDatHang" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Ngày giao hàng</td>
        <td class="DongChiTiet"><asp:Literal ID="lit_NgayGiaoHang" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Trị giá</td>
        <td class="DongChiTiet"><asp:Literal ID="lit_TriGia" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Địa chỉ giao hàng</td>
        <td class="DongChiTiet"><asp:Literal ID="lit_DiaChiGiaoHang" runat="server"></asp:Literal></td>
    </tr>
    <tr>
        <td class="DongChiTiet">Trạng thái</td>
        <td class="DongChiTiet"><asp:Literal ID="lit_TrangThai" runat="server"></asp:Literal></td>
    </tr>
</table>
</div>
<div>
   
         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
     <Triggers>
     <asp:AsyncPostBackTrigger ControlID="pager" EventName="Command" />
     </Triggers>
        <ContentTemplate>
                            
                            <div class="clear"></div>
                    <asp:Repeater ID="rpt_DonHang" runat="server" 
                        onitemdatabound="rpt_DonHang_ItemDataBound">
                        <HeaderTemplate>
                        <table width="100%" cellspacing="1" cellpadding="3" border="1">
                            <tr class="TieuDeTable" style="border-bottom-style:solid; border-bottom-width:medium; text-align:center; background-color:#f3f3f3;">
                                <td>STT</td>
                                <td>Tên sản phẩm</td>
                                <td>Số lượng</td>
                                <td>Đơn giá</td>
                                <td>Thành tiền</td>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                         <tr>
                            <td><asp:Label ID="lb_STT" runat="server"></asp:Label></td>
                            <td><asp:Literal ID="lit_TenSanPham" runat="server"></asp:Literal></td>
                            <td><%#Eval("SoLuong") %></td>
                            <td><asp:Literal ID="lit_DonGia" runat="server"></asp:Literal></td>
                            <td><%#Eval("ThanhTien") %></td>
                        </tr> 
                        </ItemTemplate>
                        <FooterTemplate>
                        </table>
                        </FooterTemplate>
                    </asp:Repeater>
<div class="clear"></div>
        <div id="pager1">
                   
                    <!--BEGIN: phan trang-->
                                
            <cc1:PagerV2_8 ID="pager" runat="server" GeneratePagerInfoSection="False"  
                FirstClause="First" Font-Underline="False"
                                     NextClause="Next" PreviousClause="Previous" 
                oncommand="pager_Command" ForeColor="#33CC33" Width="200"/>   
       </div>
          <div class="clear"></div>
              </ContentTemplate>
     </asp:UpdatePanel>
       
 </div>
</asp:Content>

